<?php

namespace app\admin\controller;
use app\admin\controller;
use think\Session;


class Index extends AdminBase
{
    public function index()
    {
       $auth = Model('common/menu');
       $f = $auth->menuIndex();
       //print_r($f);

        //print_r(Session::get());

        // 后台菜单
        $menu  = Model('menu');
        $menuAdmin = $menu->menuAdmin();

       
        
        $this->assign('menu',$menuAdmin);


        return $this->fetch();
    }
    public function info(){
        return $this->fetch();
    }








}
